//
//  ESTAcitvityDetailViewCell2.m
//  ESTSCRMAPP
//
//  Created by 李贤立 on 2018/10/17.
//  Copyright © 2018年 Capfer. All rights reserved.
//

#import "ESTAcitvityDetailViewCell2.h"

@interface ESTAcitvityDetailViewCell2 ()
@property (weak, nonatomic) IBOutlet UIView *themeColorView;
@property (weak, nonatomic) IBOutlet UILabel *themeText;
@property (weak, nonatomic) IBOutlet UILabel *themeLabel;
@end
@implementation ESTAcitvityDetailViewCell2

+ (instancetype)creatAcitvityDetailViewCell2:(UITableView *)tableView title:(NSString *)title content:(NSString *)content {
    ESTAcitvityDetailViewCell2 *cell = [tableView dequeueReusableCellWithIdentifier:@"ESTAcitvityDetailViewCell2"];
    if (cell == nil) {
        cell = [[NSBundle mainBundle] loadNibNamed:@"ESTAcitvityDetailViewCell2" owner:nil options:nil].lastObject;
    }
    cell.themeText.text = title;
    cell.themeLabel.text = content;
    return cell;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    self.themeColorView.backgroundColor = ThemeColor;
}

@end
